package cn.rxls.admin.shop.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.jetbrains.annotations.NotNull;

/**
 * 商品(Shop)表实体类
 *
 */
@Data
@TableName("shop")
@AllArgsConstructor
@NoArgsConstructor
public class Shop {
    @TableId(type = IdType.AUTO)
    //商品id    
    private Long shopId;
    //商品标题
    private String title;
    //厂商
    private String makers;
    //成交量
    private Integer volume;
    //价格
    private BigDecimal price;
    //库存
    private Integer num;
    //折扣
    private BigDecimal discount;
    //状态
    private Integer statue;
}
